/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package au.edu.swin.swinvehicle.vehicle;

import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author Administrator
 */
@Remote
public interface VehicleManagerRemote {

    public void addVehicle(VehicleDetailedTO to) throws VehicleManagerException;

    public void editVehicle(VehicleDetailedTO to) throws VehicleManagerException;

    public void deleteVehicle(Long id) throws VehicleManagerException;

    public List<VehicleTO> getAllVehicles() throws VehicleManagerException;

    public List<VehicleDetailedTO> getAllDetailedVehicles() throws VehicleManagerException;

    public VehicleDetailedTO getVehicle(Long id) throws VehicleManagerException;
}
